package cn.klaw.onlinedev.model;

import cn.klaw.base.entity.VisualdevEntity;
import cn.klaw.base.model.VisualDevJsonModel;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.klaw.base.UserInfo;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
@Builder
@Schema(description = "在线方法接口变量")
public class VisualParamModel {
    VisualDevJsonModel visualDevJsonModel;
    PaginationModel pagination;
    UserInfo userInfo;

    VisualdevEntity visualdevEntity;
    Map<String, Object> data;
    List<Map<String, Object>> dataList;
    String id;

    @Schema(description = "子表仅修改")
    @Builder.Default
    private Boolean isUpload = false;
    @Schema(description = "子表仅修改")
    @Builder.Default
    private Boolean onlyUpdate = false;
}
